package com.orangelife.webservice.base;

import java.util.List;

public class BasePageResp<T> {

	private Integer errCode;
	private String errInfo;
	private List<T> pageEntity;

	private Long total = 0l;

	private Long  restTotal= 0l;

	public Long getRestTotal() {
		return restTotal;
	}

	public void setRestTotal(Long restTotal) {
		this.restTotal = restTotal;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	private int pageSize;
	private int pageIndex;

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}

	public Integer getErrCode() {
		return errCode;
	}

	public void setErrCode(Integer errCode) {
		this.errCode = errCode;
	}

	public String getErrInfo() {
		return errInfo;
	}

	public void setErrInfo(String errInfo) {
		this.errInfo = errInfo;
	}

	public List<T> getPageEntity() {
		return pageEntity;
	}

	public void setPageEntity(List<T> pageEntity) {
		this.pageEntity = pageEntity;
	}

}
